package com.company.project.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.company.project.vo.req.PageReqVO;


import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 商品类型表
 *
 * @author YangYulin
 * @email YangYulinit@163.com
 * @date 2020-08-08 13:44:35
 */
@Data
@TableName("sys_goods_type")
public class SysGoodsTypeEntity extends PageReqVO implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId("id")
	private String id;

	/**
	 * 
	 */
	@TableField("store_id")
	private String storeId;

	/**
	 * 
	 */
	@TableField("name")
	private String name;

	/**
	 *
	 */
	@TableField("pid")
	private String pid;

	/**
	 *
	 */
	@TableField("goods_type_no")
	private String goodsTypeNo;


	/**
	 * 为了维护更深层级关系
	 */
	@TableField("relation_code")
	private String relationCode;

	/**
	 *
	 */
	@TableField("level")
	private String level;
	/**
	 * 
	 */
	@TableField("sort")
	private Integer sort;


	@TableField("update_time")
	private Date updateTime;
	/**
	 * 
	 */
	@TableField("create_time")
	private Date createTime;


}
